package com.hliushi.demo.controller;

import com.hliushi.demo.exception.UcErrors;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author llhuang10
 * @date 2021/7/23 14:48
 */
@RestController
@RequestMapping("/api")
public class ExceptionResource {


    /**
     * @param
     * @return
     */
    @GetMapping("/exc")
    public ResponseEntity<?> getMessageInfo() {


        return ResponseEntity.ok(UcErrors.ACCOUNT_DISMISS);
    }
}
